import {Service} from "adajs";

class LodgeService extends Service {
    defaultData() {
        return {
            links: [
                [
                    {name: "支部工作", link: "/admin/notice/zbgz", image: "zbhd"},
                    {name: "其他事项", link: "/admin/notice/qtsx", image: "qtsx"},
                ],
                [
                    {name: "欢迎新成员", link: "/admin/notice/hyxcy", image: "hyxcy"},
                    {name: "追忆与思念", link: "/admin/notice/zysn", image: "zy"}
                ],
                [
                    {name: "生日提醒", link: "/admin/study/srtx", image: "srtx"}
                ]
            ]
        };
    }

    onupdate(current, data) {
        Object.assign(current, data);
    }
}

export default LodgeService;